projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8eac08
)
stylecontext: Store the right style in the cache
author
Benjamin Otte
<otte@redhat.com>
Mon, 9 Mar 2015 22:53:43 +0000
(23:53 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 9 Mar 2015 22:54:41 +0000
(23:54 +0100)
Store the newly computed style, not the old and wrong one.
Fixes HighContrast menuitem color sometimes being black-on-black for
selected items.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index 59e158fba81abb1385cb422ef16cd5c00535d777..481048651f81e240552f157fd8088ecd7f88aa7c 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-829,7
+829,7
@@
update_properties (GtkStyleContext *context,
gtk_widget_path_free (path);
- store_in_global_parent_cache (context, parent, decl,
style
);
+ store_in_global_parent_cache (context, parent, decl,
result
);
return result;
}